﻿@using Web7.Security
@model Web7.User
@{
    Layout = Html.GetManagementLayout();
}
<div  >
    <label>名称：</label> @Model.Username<br />
    <label>邮箱：</label> @Model.Email<br />
    <label>状态：</label> @switch(Model.Status)
                       {
                           case UserStatus.NotSet:
                               <label>未设置</label>
                               break;
                           case UserStatus.Normal:
                               <label>正常</label>
                               break;
                           case UserStatus.PendingApproval:
                               <label>为审核</label>
                               break;
                           case UserStatus.Removed:
                               <label>已删除</label>
                               break;
                       }<br />
    <label>所在组：</label> @Model.UserGroup.UserGroupName<br />
     @Html.ActionLink("编辑", "UserEdt", "Account", new { id = Model.Id }, null)
</div>